{% extends 'rango/base.html' %}

{% block title %}Login{% endblock %}

{% block body_block %}
    <h1>Login to Rango</h1>

    <form id="login_form" method="post" action="/rango/login/">
        {% csrf_token %}
        {% if errors %}
            <ul>
                {% for error in errors %}
                    <li>{{ error }}</li>
                {% endfor %}
            </ul>
        {% endif %}
        Username: <input type="text" name="username" value="" size="50" />
        <br />
        Password: <input type="password" name="password" value="" size="50" />
        <br />

        <input type="submit" value="submit" />
    </form>
{% endblock %}
